package main
import "fmt"
import "unsafe"

//211215划水学go
func main(){

	var n1 = 100 //n1 是什么类型？

	//Printf格式化输出
	fmt.Printf("n1的类型%T \n",n1)

	//变量占用字节大小和数据类型
	var n2 int64 = 10
	fmt.Printf("n2的类型是%T",n2,"占用的字节数 %d \n",unsafe.Sizeof(n2))
	fmt.Printf("n2的类型是%T   占用的字节数 %d",n2,unsafe.Sizeof(n2))


	
}